package com.ccp.web.service.af.impl;

import com.ccp.web.database.dao.IUserDao;
import com.ccp.web.service.af.ILoginManager;

public class LoginManagerImpl implements ILoginManager{
	
	private IUserDao userdao;
	
	public IUserDao getUserdao() {
		return userdao;
	}

	public void setUserdao(IUserDao userdao) {
		this.userdao = userdao;
	}

	public boolean login(String uName, String pWord){
		return userdao.verifyAccountAndPassword(uName, pWord);
	}
}
